import input from '../module/input'
import select from '../module/select'
import datePicker from '../module/datePicker'

export const arrangeAssignment = (item, formParams) => {
    if (item.type === 'input') return input(item, formParams)

    if (item.type === 'select') return select(item, formParams)

    if (item.type === 'datePicker') return datePicker(item, formParams)
}
